package cc.lj.internal.merchant.infrastructure.repository;

import cc.lj.internal.core.exception.ServiceException;
import cc.lj.internal.core.model.BasePageHelper;
import cc.lj.internal.merchant.domain.contract.repository.IMerchantContractObjectsRepository;
import cc.lj.internal.merchant.infrastructure.dao.IMerchantContractObjectsMapper;
import cc.lj.internal.merchant.infrastructure.exception.MerchantExceptionEnum;
import cc.lj.internal.merchant.infrastructure.po.MerchantContractObjectsPO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * 合同相关各收费项目表　仓储实现
 * @author liangxifeng
 * @date 2021-12-24
 */
@Repository("merchantContractObjectsRespository")
public class MerchantContractObjectsRespository implements IMerchantContractObjectsRepository {
    @Resource(name = "merchantContractObjectsMysqlRespository")
    private IMerchantContractObjectsRepository objectsRepository;


    @Override
    public List<MerchantContractObjectsPO> getList(MerchantContractObjectsPO entityPO) {
        return objectsRepository.getList(entityPO);
    }
}
